package com.ygj.dept.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.base.common.persistent.dao.DeptMapper;
import com.base.common.persistent.model.Dept;
import com.ygj.dept.service.DeptService;

@Service("deptService")
public class DeptServiceImpl implements DeptService {

	@Resource
	private DeptMapper deptMapper;

	@Override
	public List<Dept> queryAllDepts(int compoundsId) {
		return deptMapper.queryAllDepts(compoundsId);
	}

}
